.container {
  display: flex;
  flex-direction: column;
  height: var(--page-height);
}

.board {
  display: flex;
  justify-content: space-between;
  margin: 24px 24px 8px 24px;
  padding: 0.11rem 0;
  background-color: var(--bg-main);
  border-radius: 0.05rem;

  .item {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    height: 0.98rem;
    padding-left: 0.24rem;

    .flex {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    img {
      width: 0.55rem;
      height: 0.55rem;
    }

    .left {
      display: flex;
      flex-direction: column;
      // padding-left: 0.29rem;

      .num {
        color: var(--bd-primary);
        font-weight: 600;
        font-size: 0.3rem;
        font-family: 'PingFang SC';
        font-style: normal;
        cursor: pointer;
      }

      .unit {
        padding-left: 0.08rem;
        color: var(--font-a80);
        font-weight: 400;
        font-size: 0.14rem;
        font-family: 'PingFang HK';
        font-style: normal;
        opacity: 0.6;
      }
    }

    .radioChart {
      width: 60px;
      height: 60px;
      margin-right: 24.5px;
    }

    :global {
      .ant-progress-text {
        color: var(--font-a80) !important;
      }
    }

    &:not(:last-child) {
      &::after {
        position: absolute;
        right: 0;
        width: 1px;
        height: 0.5rem;
        background-color: var(--bd-a50);
        content: '';
      }
    }
  }
}

.radio {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  margin: 0 0.24rem 0.16rem 0.24rem;
  padding: 0 24px;
  background: var(--bg-main);
  border-radius: 5px;

  .radioChart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;

    .textNum {
      position: absolute;
      font-size: 12px;
    }
  }

  .box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 20px;
    margin-left: 14px;
    padding: 3px 4px;
    color: #3cd3d3;
    font-weight: 500;
    font-size: 12px;
    font-family: 'PingFang SC';
    font-style: normal;
    background: rgba(60, 211, 211, 0.2);
    border-radius: 2px;
  }

  .itemBox {
    display: block;
    flex: 1;
    margin-right: 24px;
    margin-left: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  :global {
    .ant-progress-text {
      color: var(--font-a80) !important;
    }
  }
}

.radio_1 {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 0 0.24rem 0.16rem 0.24rem;
  padding: 16px 24px;
  background: var(--bg-main);
  border-radius: 5px;

  .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    .title {
      padding-bottom: 8px;
      color: var(--font);
      font-weight: 600;
      font-size: 16px;
      font-family: 'PingFang HK';
      font-style: normal;
    }
  }

  .radioChart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;

    .textNum {
      position: absolute;
      font-size: 18px;
    }
  }

  .driver {
    width: 1px;
    height: 100%;
    margin: 0 24px;
    background-color: var(--bd-a50);
  }

  .group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-right: 24px;

    .title {
      display: flex;
      align-items: center;
      padding-right: 10px;
      padding-bottom: 12px;
      color: var(--font);
      font-weight: 600;
      font-size: 16px;
      font-family: 'PingFang HK';
      font-style: normal;
    }

    .itemBox {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      border: 1px solid var(--bd);
      border-radius: 5px;

      .item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: calc(100% / 8);
        // display: inline-block;
        padding: 5px 8px;
        border-right: 1px solid var(--bd);
        border-bottom: 1px solid var(--bd);

        &:nth-child(8n) {
          border-right: none;
        }

        &:nth-child(n + 17) {
          border-bottom: none;
        }
      }
    }
  }

  :global {
    .ant-progress-text {
      color: var(--font-a80) !important;
    }
  }
}

.content_body {
  display: flex;
  justify-content: center;
  height: calc(100vh - 1.84rem);
  margin: 0 0.24rem 0.24rem 0.24rem;
  overflow: hidden;

  .emty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .content {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .leftBox {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 0 0.24rem 0.24rem 0.24rem;
    background: var(--bg-main);
    border-radius: 0.05rem;

    td {
      white-space: pre-line;
      word-break: break-all;
      overflow-wrap: break-word;
    }
  }

  .rightBox {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
    margin-left: 0.04rem;
    padding: 24px;
    background: var(--bg-main);

    .filter_group {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding: 2px 0 16px 0;

      .curs {
        color: var(--bd-primary);
        cursor: pointer;
      }

      .option {
        margin-right: 24px;
        // .dropdownA {
        //   :global {
        //     ul > .ant-dropdown-menu-item-active {
        //       color: #e8f2fd;
        //       background-color: #1e7ce8 !important;
        //     }
        //   }
        // }
      }

      .title {
        color: #fff;
        font-weight: 500;
        font-size: 0.14rem;
        font-family: 'PingFang SC';
      }

      .flex {
        display: flex;
        align-items: center;
      }

      .filter_unit {
        width: 1.4rem !important;
        height: 0.32rem !important;
      }

      :global {
        .ant-select {
          font-size: 0.12rem !important;
        }

        .ant-select-selection-placeholder {
          color: #d3d4d4 !important;
          line-height: 0.32rem !important;
        }

        .ant-select-selector {
          height: 0.32rem !important;
        }

        .ant-select-arrow {
          right: 0.116rem !important;
          font-size: 0.09rem !important;
        }

        .ant-select-selection-search-input {
          height: 0.3rem !important;
        }

        .ant-select-selection-item {
          align-items: center;
          height: 0.22rem !important;
          margin-top: 0 !important;
          margin-bottom: 0.05rem !important;
          line-height: 0.3rem !important;
        }
      }
    }

    .content_box {
      display: flex;
      flex: 1;
      flex-direction: column;
      width: 100%;
      height: calc(100% - 50px);

      .monthTable {
        // max-height: calc(100vh - 2.31rem);
        overflow-y: scroll;
        border: 1px solid var(--bd);
        border-radius: 5px;

        .item {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          padding: 6px 12px;
          font-size: 12px;
        }

        .disable {
          color: var(--font-a30);
          cursor: no-drop !important;
        }

        .custorm {
          color: var(--bd-primary);
          cursor: pointer;
        }
      }
    }
  }

  .leftArrow {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.16rem;
    height: 0.66rem;
    color: var(--arrow-color);
    font-size: 12px;
    background: var(--arrow-bg);
    border-radius: 0.2rem 0 0 0.2rem;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .chartsNoWidth {
    display: none;
    width: 0;
  }

  .chartsFullWidth {
    width: 100%;
    margin-left: 0 !important;
  }

  .rightArrow {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.16rem;
    height: 0.66rem;
    color: var(--arrow-color);
    font-size: 12px;
    background: var(--arrow-bg);
    border-radius: 0 0.2rem 0.2rem 0;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .tableNoWidth {
    display: none;
    width: 0;
  }

  .tableFullWidth {
    width: 100%;
  }
}

.header {
  position: relative;
  width: 100%;
  padding: 0.16rem 0 !important;
  background: var(--bg-main);

  .formStyles {
    display: flex;
    flex-wrap: wrap;
  }

  .marketId_item {
    margin-right: 0.16rem !important;
    margin-bottom: 0 !important;
  }

  .cell_item {
    margin-right: 0.16rem !important;
    margin-bottom: 0 !important;

    .select_date {
      width: 0.8rem; //1.2rem
      height: 0.32rem;
      font-weight: 400;

      :global {
        .ant-picker-input > input {
          font-size: 0.12rem !important;
        }

        .ant-picker-range-separator {
          font-size: 0.12rem;
        }

        .ant-picker-suffix {
          font-size: 0.12rem;
        }
      }
    }
  }

  :global {
    .ant-radio-button-wrapper:first-child {
      border: none;
      border-radius: 0.05rem;
    }

    .ant-space-align-center {
      align-items: flex-start !important;
    }

    .ant-radio-button-wrapper:last-child {
      border: none;
      border-radius: 0.05rem;
    }

    .ant-radio-button-wrapper:not(:first-child)::before {
      width: 0;
    }

    .ant-select {
      font-size: 0.12rem !important;
    }

    .ant-select-selection-placeholder {
      // color: #d3d4d4 !important;
      color: #999 !important;
      line-height: 0.32rem !important;
    }

    .ant-select-selector {
      height: 0.32rem !important;
    }

    .ant-select-arrow {
      right: 0.116rem !important;
      font-size: 0.09rem !important;
    }

    .ant-select-selection-search-input {
      height: 0.3rem !important;
    }

    .ant-select-selection-item {
      align-items: center;
      height: 0.22rem !important;
      margin-top: 0 !important;
      margin-bottom: 0.05rem !important;
      line-height: 0.3rem !important;
    }
  }

  .submit {
    width: 0.8rem !important;
    height: 0.32rem !important;
    font-weight: 500;
    font-size: 0.14rem !important;
    border-radius: 0.05rem !important;
  }

  .reset {
    width: 0.8rem !important;
    height: 0.32rem !important;
    margin-left: 0.16rem;
    font-weight: 500;
    font-size: 0.14rem !important;
    border-radius: 0.05rem !important;
  }
}

.tip {
  display: flex;
  align-items: center;
  justify-content: space-between;

  .title {
    font-weight: 400;
    font-size: 0.16rem;
    font-family: 'PingFang SC';
    font-style: normal;
  }

  .link {
    color: #18a0fb;

    .hanld {
      cursor: pointer;
    }
  }
}

.icon_calendar {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(255, 255, 255, 0.3) !important;
}

.optionStyle {
  color: #18a0fb !important;
  font-size: 14px !important;
  line-height: 14px;
}
